Requests text乱码
都在推荐用Requests库,而不是Urllib,但是读取网页的时候中文会出现乱码。 分析: r = requests.get(“http://www.baidu.com“) **r.text返 ...
都在推荐用Requests库,而不是Urllib,但是读取网页的时候中文会出现乱码。 分析: r = requests.get(“http://www.baidu.com“) **r.text返 ...